<?php
require "config.php";

foreach ($libs as $lib)
{
	require "lib/$lib.php";
}

database_connect();

$smarty = smarty_init();

foreach ($smarty_functions as $smarty_function)
{
	smarty_register_function($smarty, $smarty_function);
}

smarty_run($smarty);
?>
